yum -y install numactl-devel;
for i in `numactl -H|grep cpus|awk -F ':' '{print $2}'|awk NR==2`
do
	echo $i
	echo 0 > /sys/devices/system/cpu/cpu$i/online //关闭
done


for i in {0..63}
do
	echo $i
	echo 1 > /sys/devices/system/cpu/cpu$i/online //打开
done



